package backstage.app.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import backstage.app.entity.LableType;
import backstage.app.mapper.LableTypeMapper;
import backstage.app.service.LableTypeService;
@Service
public class LableTypeServiceImpl extends ServiceImpl<LableTypeMapper, LableType> implements LableTypeService{

	@Autowired
	private LableTypeMapper lableTypeMapper;
	@Override
	public int insertSelective(LableType record) {
		// TODO Auto-generated method stub
		return lableTypeMapper.insertSelective(record);
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		 
		return lableTypeMapper.deleteByPrimaryKey(id);
	}

	@Override
	public LableType selectByPrimaryKey(Integer id) {
		
		return lableTypeMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKey(LableType record) {
		// TODO Auto-generated method stub
		return lableTypeMapper.updateByPrimaryKey(record);
	}

}
